*{
    box-sizing: border-box;
}

body{
    background-color: #131720;
    font-family: sans-serif;
}

h3{
    color: white;
}

.topnav{
    position: fixed;
    overflow: hidden;
    width: 100%;
    top: 0;
    left: 0;
    bottom: initial;
    background-color: #131720;
    box-shadow: 0 -1px 4px rgb(216, 215, 215);;
    padding: 10px;
    padding-top: 20px;
}
.topnav a{
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.topnav .search-container{
    float: right;
  margin-right: 15px;
}

form{
    background-color: #151f30;
    width: 300px;
    height: 43px;
    border-radius: 11px;
    display: flex;
    align-items: center;
}

.search-icon{
    all: unset;
    text-align: center;
    background-color: #40557a;
    height: 100%;
    width: 20%;
    border-radius: 0px 11px 11px 0px;
}
.search-icon:active{
  background-color: #7890ba;
}

.search-icon-vip{
    all: unset;
    text-align: center;
    background-color: #47ff47;
    height: 100%;
    width: 20%;
    border-radius: 11px;
}

.search-icon-vip:active{
  background-color: #1e671e;
}

input{
    all: unset;
    font: 15px system-ui;
    color: #fff;
    height: 100%;
    width: 100%;
    padding: 6px 9px;
}

.top-title{
    color: gray;
    margin-top: 6rem;
    padding: 5px;
    text-align: center;
}

.top-none{
    font-size: 0;
    margin-top: 5rem;
}

.thumbnail{
    /* height: 300px; */
    width: 100%;
    border-radius: 19px;
}

section{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.row{
    width: 25%;
}

.column{
    float: left;
    width: 100%;
    padding: 10px 10px;
}

.card{
    background-color: #151f30;
    border-radius: 19px;
    padding: 15px;
    text-align: center;
}

.intro{
    color: gray;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.img_box{
    border-radius: 10px;
    /* padding: 10px; */
    background-color: rgb(233, 241, 255);
    display: none;
    position: fixed;
    left:50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

#img{
    width: 100%;
}

#description{
    margin: 15px;
}

.toggle{
    float: right;
    margin-top: 5px;
    margin-right: 10px;
    height: 50px;
    width: 50px;
    border-radius: 10px;
    background: url(close.png);
    background-size: 40px;
    background-color: black;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0;
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: white;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
	font-size:0.5rem;
}

ul.pagination li a.active {
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
}

ul.pagination li a:hover:not(.active) {
    background-color: #ddd;
    color: black;
}

.pagination-div{
    text-align: center;
    margin-bottom: 3rem;
}

.pagination-none{
    display: none;
}

@media screen and (max-width:1024px){
    .thumbnail{
        height: 250px;
    }
    
    .row{
        width: 32%;
    }
}

@media screen and (max-width:500px){
    .topnav a{
        font-size: 1rem;
    }
    .thumbnail{
        height: 200px;
    }
    
    form{
        width: 150px;
    }

    .search-icon{
        width: 30%;
    }

    .search-icon-vip{
        width: 30%;
    }

    .row{
        width: 48%;
    }

    .card{
        padding: 8px;
    }
    
    h3{
        font-size: 1rem;
    }

    .toggle{
        height: 30px;
        width: 30px;
        background-size: 25px;
    }

    .img_box{
        left: 10%;
        transform: translate(-5%,-50%);
    }
}